#ifndef ACCOUNT_H
#define ACCOUNT_H
#include<QString>
#include<QTextStream>
class Account
{
    friend QTextStream& operator<<(QTextStream& out,const Account& acc);
    friend QTextStream& operator>>(QTextStream& in, Account& acc);
public:
    Account();
    Account(QString account, QString password);
    Account(const Account& acc);

    QString getAccount();
    QString getPassword();
private:
    QString Acc_account;
    QString Acc_password;
};

QTextStream& operator<<(QTextStream& out,const Account& acc);
QTextStream& operator>>(QTextStream& in, const Account& acc);
#endif // ACCOUNT_H
